MessageDialog.ShowModal Function

Displays the MessageDialog window. Returns a MessageDialogButton, which indicates which button was pressed.

Syntax

result = MessageDialog.ShowModal( )

Return Value

Result

MessageDialogButton

Notes

To find out which button was pressed, compare it to the button instances in the dialog.